<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table border="1">
      <th th:each="item:${heros}">
        <td th:text="${item}"></td>
      </th>
    </table>
</body>
</html>